Structural Matrices and Sigma:
Structural and covariance matrices describing a path or latent
variables model.
Description
This function builds the 8 basic matrices that describe a model
alongside with a model-implied covariance matrix based on the
starting values of the parameters in the model passed as an argument.
This is the workinghorse of the package.
Usage
sem.matrices(model, matrep)
Arguments
model
A lavaanified model with non NA starting values.
matrep
A skeleton of the matrices that describe the model in
question. Used mainly internally to avoid repetitive computations.
Given by matrix.representation.
Value
A list with the 4 basic matrices (see LISREL) and a
model-implied covariance matrix.